<!--
 * @Description: 工单详情
 * @Author: charles
 * @Date: 2021-12-14 22:10:42
 * @LastEditors: charles
 * @LastEditTime: 2021-12-14 22:10:43
-->
<template>
  <div>
    
    <div class="table" style="border:10px ;">
        <el-row  justify="" style="background-color:palegoldenrod" >
            <el-col :span="3">工单id</el-col>
            <el-col :span="3">{{EmpData.id }}</el-col>
        </el-row>
        <el-row  justify="" >
            <el-col :span="3">工单状态</el-col>
            <el-col :span="3">{{EmpData.status}}</el-col>
        </el-row>
        <el-row  justify="" >
            <el-col :span="3">工单创建时间</el-col>
            <el-col :span="3">{{EmpData.create_time}}</el-col>
        </el-row>
        <el-row  justify="" >
            <el-col :span="3">工单费用</el-col>
            <el-col :span="3">{{EmpData.bill_why}}</el-col>
        </el-row>
        <el-row  justify="" >
            <el-col :span="3">工单完成时间</el-col>
            <el-col :span="3">{{EmpData.finish_time}}</el-col>
        </el-row>
        <el-row  justify="" >
            <el-col :span="3">工单完成备注</el-col>
            <el-col :span="3">{{EmpData.finish_note}}</el-col>
        </el-row>
        <el-row  justify="" >
            <el-col :span="3">接单工程师id</el-col>
            <el-col :span="3">{{EmpData.engineer_id}}</el-col>
        </el-row>
        <el-row  justify="" >
            <el-col :span="3">设备id</el-col>
            <el-col :span="3">{{EmpData.device_id}}</el-col>
        </el-row>
        <el-row  justify="" >
            <el-col :span="3">账户id</el-col>
            <el-col :span="3">{{EmpData.account_id}}</el-col>
        </el-row>
        <el-row  justify="" >
            <el-col :span="3">接单工程师姓名</el-col>
            <el-col :span="3">{{EmpData.engineer_name}}</el-col>
        </el-row>
        <el-row  justify="" >
            <el-col :span="3">设备名称</el-col>
            <el-col :span="3">{{EmpData.device_name}}</el-col>
        </el-row>
        <el-row  justify="" >
            <el-col :span="3">账户名称</el-col>
            <el-col :span="3">{{EmpData.account_name}}</el-col>
        </el-row>
    </div>
  </div>
</template>
<script>
// import {get} from '@/utils/request'
export default {
  data() {
    return {
      EmpData:{},
      input:'',
      // 表单对象
      form: {},
      // 设备数据
      empData:[],
      params:{
        page:1,
        pageSize:1,
        
      },
      
    };
  },
  computed: {},
  methods: {
    // 查询设备
    async getEmpData(){
      // form  name bind_status online_status 
      // params page pageSize
      //搜索和分页查询同时处理
      
      // let res = await get('/workorder/findById',this.params);
      
    
       this.empData = this.EmpData
      
    },
  
  
  },
  created() { 
    console.log(this.$route,'ppp');
    this.EmpData = {...this.$route.query};
    // this.getEmpData();
    console.log(this.EmpData,'feffefd');
  },
  mounted() { },
};
</script>
<style scoped>

</style>
